home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh
- # discard is a utility csh script to remove _.TOOLPACK and IST.CMD (if
- # they exist), and to give the user the option of removing other files
- # whose names begin with "_." (presumably created by Toolpack).
- #
- #
- # Invocation:
- #
- # discard
- #
- if ( -e _.TOOLPACK == 1 ) then
- /bin/rm -r _.TOOLPACK
- echo The directory _.TOOLPACK created by Toolpack has been removed.
- echo ""
- endif
- #
- if ( -e IST.CMD == 1 ) then
- /bin/rm IST.CMD
- echo The file IST.CMD created by Toolpack has been removed.
- echo ""
- endif
- #
- if ( `TOOLPACKPATH/toolpack1.2/util/Tcrfil *` == 0 ) then
- exit
- else
- echo 'The following files were created by Toolpack. Remove with "y":'
- /bin/rm -i _.*
- endif
- #
-